Skip to content

Fix: split DTE (live) vs Term (frozen) across position tables#50

Merged
heyitsStylez merged 1 commit intomainfrom
dte-term-split
May 7, 2026
Merged

Fix: split DTE (live) vs Term (frozen) across position tables#50
heyitsStylez merged 1 commit intomainfrom
dte-term-split

Conversation

@heyitsStylez
Copy link
Copy Markdown
Owner

Summary

  • Open Positions DTE column now shows a live days-remaining countdown (computed from expiry − today), matching Expiring This Week.
  • DTE column sorts by expiry (the stored dte field is no longer what's displayed).
  • Position History column header renamed to "Term"; cell still shows the stored original t.dte.

Closes #45.

Test plan

  • python3 build.py --check passes
  • npm test passes (75/75, including 3 new integration tests in test/integration/dte-term-split.test.js)
  • Manual: load app with open positions; confirm DTE counts down day-by-day and clicking the column header sorts by soonest expiry.
  • Manual: confirm Position History header reads "Term" and values match originally-stored DTEs.

🤖 Generated with Claude Code

Open Positions DTE now shows a live countdown computed from expiry; column
sorts by expiry. Position History header renamed to "Term"; value remains
the stored original t.dte. Closes #45.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hyperwheel Ready Ready Preview, Comment May 7, 2026 5:32am

@heyitsStylez heyitsStylez merged commit 2bebd0b into main May 7, 2026
4 checks passed
@heyitsStylez heyitsStylez deleted the dte-term-split branch May 7, 2026 05:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DTE/Term column-label split across position tables

1 participant